<div style="margin-bottom: 20px;">
    <form method="get" action="/oss/">
        <{include file='../common_params.tpl' isGet=1}>

        <div class="form-group">
            <label for="exampleInputFile">服务器</label>
            <select class="form-control" name="server">
                <{html_options options=$serverList selected=$server}>
            </select>
        </div>


        <div class="form-group">
            <label for="exampleInputFile">帮派名称</label>
            <input type="text" class="form-control" name="search" value="<{$search}>" />
        </div>

        <button class="btn btn-default btn-flat" type="submit">查询</button>
    </form>
</div>

<{if !empty($info)}>
    <{if $info.state}>
    <div class="box box-black">
        <{foreach from=$info.data item=item}>
        <table class="table table-bordered">
            <colgroup>
                <col style="width: 10%;"></col>
                <col style="width: 23%;"></col>
                <col style="width: 10%;"></col>
                <col style="width: 23%;"></col>
                <col style="width: 10%;"></col>
                <col style="width: 23%;"></col>
            </colgroup>
            <tr>
                <th class="th-label-s">工会名称</th>
                <td><{$item.guildName}>(<{$item.guildId}>) <b style="color: green;">Lv.<{$item.guildLevel}></b></td>
                <th class="th-label-s">会长</th>
                <td><{$item.leader}></td>
                <th class="th-label-s">创建时间</th>
                <td><{date('Y-m-d H:i:s', $item.creatTime / 1000)}></td>
            </tr>
            <tr>
                <th class="th-label">工会成员</th>
                <td colspan="5">
                    <ul>
                        <{foreach from=$item.members item=ii}>
                        <li><{$ii}></li>
                        <{/foreach}>
                    </ul>
                </td>
            </tr>
        </table>
        <{/foreach}>
    </div>


    <{else}>
    <div class="alert alert-warning" style="margin:0;" role="alert"><{$info.msg}></div>
    <{/if}>
<{/if}>
